#-------------------------------------------------
#  Copyright 2023 ESRI
#
#  All rights reserved under the copyright laws of the United States
#  and applicable international laws, treaties, and conventions.
#
#  You may freely redistribute and use this sample code, with or
#  without modification, provided you include the original copyright
#  notice and use restrictions.
#
#  See the Sample code usage restrictions document for further information.
#-------------------------------------------------

TARGET = MyScene
TEMPLATE = app

CONFIG += c++17

# additional modules are pulled in via arcgisruntime.pri
QT += widgets concurrent

lessThan(QT_MAJOR_VERSION, 6) {
    error("$$TARGET requires Qt 6.5.1")
}

equals(QT_MAJOR_VERSION, 6) {
    lessThan(QT_MINOR_VERSION, 5) {
        error("$$TARGET requires Qt 6.5.1")
    }
	equals(QT_MINOR_VERSION, 5) : lessThan(QT_PATCH_VERSION, 1) {
		error("$$TARGET requires Qt 6.5.1")
	}
}

ARCGIS_RUNTIME_VERSION = 200.2.0
include($$PWD/arcgisruntime.pri)

win32:CONFIG(release, debug|release): LIBS += -LD:/GDAL/GDAL_Release_GEOS/lib/ -lgdal_i
else:win32:CONFIG(debug, debug|release): LIBS += -LD:/GDAL/GDAL_Release_GEOS/lib/ -lgdal_i

INCLUDEPATH += D:/GDAL/GDAL_Release_GEOS/include
DEPENDPATH += D:/GDAL/GDAL_Release_GEOS/include

win32:CONFIG += \
    embed_manifest_exe

SOURCES += \
    MyScene.cpp \
    main.cpp    \
    switchbt.cpp  \
    flabel.cpp

HEADERS += \
    MyScene.h \
    switchbt.h \
    flabel.h

#-------------------------------------------------------------------------------

RESOURCES += \
    PIC.qrc \
    QSS.qrc
